import $http from '@/assets/js/http'

//留言列表
export function getList(pageIndex,pageSize){
    return $http.post('/app/topic/list',{
        pageIndex:pageIndex,
        pageSize:pageSize
    })
}

//视频详情
export function getVideoDetail(id){
    return $http.post('/app/video/detail',{
        id:id,
    })
}
//视频评论列表
export function getProblemList(id,pageIndex,pageSize){
    return $http.post('/app/video/comment/list',{
        id:id,
        pageIndex:pageIndex,
        pageSize:pageSize
    })
}

// 用户互动详情
export function getTalkDetail(id){
    return $http.post('/app/subject/detail',{
        id:id,
    })
}

//用户互动评论列表
export function getTalkList(id,pageIndex,pageSize){
    return $http.post('/app/subject/comment/list',{
        id:id,
        pageIndex:pageIndex,
        pageSize:pageSize
    })
}
